package com.lvyq.qrobot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvyq.qrobot.entity.UserEntity;
import com.lvyq.qrobot.entity.UserEquip;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lvyq
 * @version 1.0
 * Create by 2024-05-31 9:47
 */
@Mapper
public interface UserEquipMapper extends BaseMapper<UserEquip> {


    @Select("select * from user_equip where group_id = #{groupId} and user_id =#{userId}")
    List<UserEquip> getUserEquipInfo(@Param("groupId") Integer groupId, @Param("userId") Integer userId);
}
